import request from "@/api/request.js"

function bannerAds(){
	return request({
		url:"/lejuClient/home/bannerAds"
	})
}

function categorys(id){
	return request({
		url:`/lejuClient/home/categorys/${id}`
	})
}
function findProductList(start,limit,data){
	return request({
		url:`/lejuClient/product/findProductList/${start}/${limit}`,
		data:data,
		method:"POST"
	})
}
// 滚动广告
function recommendList(){
	return request({
		url:"/lejuClient/home/recommendList"
	})
}
// 热门推荐
function lejuLatestProducts(){
	return request({
		url:"/lejuClient/home/lejuLatestProducts"
	})
}
// 新品推荐
function saleMostProducts(){
	return request({
		url:"/lejuClient/home/saleMostProducts"
	})
}
export {
	bannerAds,
	categorys,
	findProductList,
	recommendList,
	lejuLatestProducts,
	saleMostProducts
}